<script type="text/javascript">
	$(function() {
		$("#checkAll").checkall({itemName: "userId"});
		user.status();
	});
</script>
<#include "/component/pagination.html" />
<table id="userlist" class="table table-striped table-hover">
	<thead>
		<tr>
			<th width="3%" scope="col"><input
				id="checkAll" name="" type="checkbox" /></th>
			<th width="22%" scope="col"><@spring.message code='user.fullname'/></th>
			<th width="22%" scope="col"><@spring.message code='user.username'/></th>
			<th width="22%" scope="col"><@spring.message code='user.mobilePhone'/></th>
			<th width="22%" scope="col"><@spring.message code='user.email'/></th>
			<th width="9%" scope="col"><@spring.message code='user.status'/></th>
		</tr>
	</thead>
	<tbody>
		<#list pager.list as item>
		<tr <#if ((item_index+1) % 2 == 0) >class="oddrow"</#if>>
			<td class="c"><input name="userId" type="checkbox" value="${item.id}" /></td>
	        <td>${item.name}</td>
	        <td>${item.username}</td>
	        <td>${item.mobilePhone}</td>
	        <td>${item.email}</td>
	        <td value="${item.status!}" name="status"></td>
	    </tr>
		</#list>
	</tbody>
</table>
<@pagination/>
